package com.yayo.mangement.authentication.enums;

import lombok.Getter;

public enum GenerateLayerEnum {
    CONTROLLER("controller","视图层"),
    FACADE("facade","复杂业务逻辑层"),
    SERVICE("service","业务逻辑层"),
    DAO("dao","数据持久层"),
    DTO_DO_CONVERTER("dto_do_converter","数据对象"),
    MAPPER("mapper","SQL文件")

    ;
    @Getter
    private String layer;
    @Getter
    private String desc;

    GenerateLayerEnum(String layer, String desc){
        this.layer = layer;
        this.desc = desc;
    }

}
